home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 11 / AMUG BBS in a Box Volume XI (April 1994) (MacWizards).iso / Files / Tele / D-F / DIALSC16.sit / DialScript 1.6 / Examples / dtrtest.ds < prev    next >
Encoding:
Text File  |  1991-04-27  |  621 b   |  27 lines  |  [TEXT/dIsR]

  1. -- This script should make your modem's TR light flash-- if your modem has
  2. -- one, is wired correctly, and is NOT set to pull DTR high all the time.
  3. -- I'm not sure if it will work on a Mac older than a plus.  If it does
  4. -- (or does not) send email to newton@cs.utexas.edu and tell me!
  5.  
  6. script dtrtest
  7.  
  8. state one
  9.    display "starting-- watch the appropriate light on your modem,";
  10.    display "           if you have one!";
  11.    set dtr low;
  12.    delay 1;
  13.    set dtr high;
  14.    delay 1;
  15.    set dtr low;
  16.    delay 1;
  17.    set dtr high;
  18.    delay 1;
  19.    set dtr low;
  20.    delay 1;
  21.    set dtr high;
  22.    display "done";
  23.    stop;
  24. end;
  25.  
  26. end;
  27.